html {
    min-width: 980px;
    height: 100%;
}

body {
    min-width: 980px;
    height: 100%;
    margin: 0 auto;
    font-size: 16px;
    overflow-x: hidden;
}

i,
em {
    font-style: normal;
}


/* 头部 */

.header {
    background: #f1f1f1;
    position: relative;
}

.header-top {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    background-color: #1065A7;
    color: #fff;
    /* height: 61px; */
}

.logo {
    font-size: 20px;
    line-height: 41px;
    padding-top: 10px;
    margin-left: 27px;
}

.logo-pic {
    width: 31px;
    height: 31px;
    background: url(../img/logo.jpg) no-repeat;
    background-size: contain;
    /* background-color: #fff; */
}


/* 顶部衣机导航tab栏 */

.nav {
    display: -webkit-flex;
    display: flex;
    margin-top: 30px;
}

.nav li a {
    display: block;
    height: 30px;
    line-height: 24px;
    padding: 1px 15px 0;
    color: #fff;
    transition: all .2s;
}

.nav li:hover {
    background-color: #0E5891;
}

.nav li.layui-this a {
    color: #1065a7;
    background-color: #f1f1f1;
}

.nav li.layui-this:hover a {
    background-color: #f1f1f1;
}


/* 右边用户信息 */

.hd-right {
    padding-top: 30px;
}

.hd-right a {
    color: #fff;
}

.hd-right .user {
    display: inline-block;
    margin-left: 6px;
    padding: 0 15px;
    background-color: #0E5891;
    font-size: 16px;
}

.hd-right .user i:first-child {
    font-size: 20px;
}

.hd-right .user li {
    line-height: 30px;
}

.hd-right .user .username {
    color: #fff;
    padding-left: 5px;
}

.user .layui-nav-child {
    top: 35px;
    left: -5px;
}

.user .layui-nav-child a {
    padding: 0 10px;
}


/* header-top结束 */

.header-down {
    position: relative;
    padding: 0 12px;
    height: 75px;
    border-bottom: solid 1px #d5d5d5;
}


/* 收起图标按钮 */

.header-down .up {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-block;
    width: 35px;
    height: 25px;
    line-height: 25px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.header-down .up:hover {
    color: #0E5891;
    background-color: #ccc;
}


/* tab栏内容，第二级导航 */

.header-down .subnav {
    display: none;
    overflow: hidden;
    margin-top: 10px;
}

.subnav .menu {
    display: -webkit-flex;
    display: flex;
    float: left;
}

.subnav .menu li:nth-child(4n) {
    border-right: solid 1px #d2d2d2;
}

.subnav .menu li a {
    display: block;
    height: 62px;
    color: #2e2e2e;
    padding: 0 12px;
    padding-top: 4px;
}

.subnav .menu li a:hover {
    background-color: #c4c4c4;
}

.subnav .menu li a i {
    display: block;
    font-size: 30px;
    text-align: center;
}

.wechart {
    color: #01BC0D;
}


/* header 头部结束 */

.main {
    padding-top: 10px;
}


/* footer */

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding-left: 15px;
    font-size: 14px;
    color: #4f4f4f;
    background: #f1f1f1;
    border-top: solid 1px #bfbfbf;
}